home *** CD-ROM | disk | FTP | other *** search
/ Windows News 1997 February / Windows News CD #1 - Fev 97.iso / bench / readfile / crc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-22  |  1.0 KB  |  23 lines

  1. // --------------------------------------------------------------------------
  2. //  PROJECT     SOLO2
  3. //  MODULE      CRC.H           
  4. //  PURPOSE     32 bit CRC routines
  5. //  COPYRIGHT   (c) Francois Liger, 1994
  6. // --------------------------------------------------------------------------
  7. //  COMMENTS    CRC 32 header file
  8. // --------------------------------------------------------------------------
  9.  
  10. // --------------------------------------------------------------------------
  11. //  module wide definitions
  12. // --------------------------------------------------------------------------
  13.  
  14. #define CRC_BUFFER_SIZE 512             // CRC file read buffer size
  15.  
  16. // --------------------------------------------------------------------------
  17. //  function prototypes
  18. // --------------------------------------------------------------------------
  19.  
  20. void  InitializeCRCTable(void);
  21. DWORD ComputeBufferCRC(DWORD dwCRC, void *pvBuffer, DWORD cbBuffer);
  22. DWORD ComputeFileCRC(HANDLE hfile, LPOVERLAPPED lpOverlapped);
  23.